<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
 <title>CSS Test: font-sizes in pixels compared to images in pixels</title>
  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
  <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/fonts/size/007.html" type="text/html"/>
  <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-size-props" />
  <link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-size-prop"/>
 <style type="text/css">
  p { color: navy; }
  span { color: silver; }
  .a { font: 10px Arial, sans-serif; }
  .b { font: 20px Arial, sans-serif; }
  .c { font: 30px Arial, sans-serif; }
  .a img { height: 10px; }
  .b img { height: 20px; }
  .c img { height: 30px; }
 </style>
 </head>
 <body>

  <p class="a">The box X<img src="support/1x1-navy.png"
  alt="[FAIL]"/>X should be taller than the Xs on either side of
  it. <span>xxxxxxxxxx xxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx
  xxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxxxxxx
  xxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx</span></p>

  <p class="b">The box X<img src="support/1x1-navy.png"
  alt="[FAIL]"/>X should be taller than the Xs on either side of
  it. <span>xxxxxxxxxx xxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx
  xxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxxxxxx
  xxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx</span></p>

  <p class="c">The box X<img src="support/1x1-navy.png"
  alt="[FAIL]"/>X should be taller than the Xs on either side of
  it. <span>xxxxxxxxxx xxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx
  xxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxxxxxx
  xxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx</span></p>

 </body>
</html>
